import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import fastClick from 'fastClick'
import VueLazyLoad from 'vue-lazyload'
import 'styles/index.styl'

// 懒加载
Vue.use(VueLazyLoad, {
  loading: require('@/assets/image/default.png')
})

Vue.config.productionTip = false
// 解决300ms点击延迟
fastClick.attach(document.body)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
